package com.siae.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.siae.pojo.Role;
import com.siae.pojo.UploadFile;
import com.siae.pojo.vo.ItemVo;
import com.siae.pojo.vo.Result;

import java.util.List;

public interface UploadFileService extends IService<UploadFile> {
    Result<List<UploadFile>> getFilePath(Integer id, String filePath);
    Result<UploadFile> getUploadFileById(Integer id);
    Result<UploadFile> getUploadFileByName(String fileName);
    Result addUploadFile(UploadFile uploadFile);
    Result updateFile(UploadFile uploadFile);
    Result deleteFile(Integer id);

}
